package com.block.db.util;

/**
 * 
 * @date 2020/12/4 10:35 上午
 */
public enum IdTypeEnum {
    COMMON("通用",1L,30L),COUPON_CODE("优惠券码",1L,29L),
    ORDER("订单",1L,28L),PAY_FLOWNO("支付流水",1L,27L),
    TRADE("交易",1L,26L),TRADE_FLOWNO("交易流水",1L,25L)
    ,APPROVE_FLOWNO("授权流水",1L,24L)
    ,FINANCE_ORDER("理财订单号",2L,23L),FINANCE_FLOWNO("理财订单计息流水号",2L,22L)
    ,FINANCE_PAY_FLOWNO("理财订单支付流水号",2L,21L),FINANCE_PAY_ORDER_NO("理财支付订单号",2L,20L);


    private String type;
    private Long workId;
    private Long datacenterId;
    IdTypeEnum(String type,Long workId,Long datacenterId){
        this.type=type;
        this.workId=workId;
        this.datacenterId=datacenterId;
    }

    public Long getDatacenterId() {
        return datacenterId;
    }

    public Long getWorkId() {
        return workId;
    }
}
